package com.agentframework.core.environment;

/**
 * @author wangjun
 **/
public class EnvironmentErrorEvent extends EnvironmentEvent {

    Exception exception;

    public EnvironmentErrorEvent(AbstractEnvironment environment, Exception exception) {
        super(environment);
        this.exception = exception;
    }

    public Exception getException() {
        return exception;
    }

}
